package org.apache.axis2.transport.p2p;

import org.apache.axis2.AxisFault;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.description.TransportOutDescription;
import org.apache.axis2.transport.OutTransportInfo;
import org.apache.axis2.transport.base.AbstractTransportSender;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * Created by IntelliJ IDEA.
 * User: shelan
 * Date: May 15, 2010
 * Time: 12:49:36 PM
 * To change this template use File | Settings | File Templates.
 */
public class P2pSender extends AbstractTransportSender {

    protected Log log = LogFactory.getLog(this.getClass());

    @Override
    public void init(ConfigurationContext cfgCtx, TransportOutDescription transportOut) throws AxisFault {
        super.init(cfgCtx, transportOut);

        P2pManager p2pManger = new P2pManager();

        p2pManger.initSender(cfgCtx, transportOut);

        

    }

    @Override
    public void sendMessage(MessageContext messageContext, String s, OutTransportInfo outTransportInfo) throws AxisFault {


    }
}
